package com.example.demo.controller;

import com.example.demo.entity.CSDNArticleEntity;
import com.example.demo.mapper.CSDNMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author haohulala
 * @version 1.0
 * @description: 测试用的接口
 * @date 2023/4/15 17:48
 */
@Controller
public class ConsumerController {

    @RequestMapping("/hello")
    @ResponseBody
    public String hello() {
        return "hello";
    }

}
